﻿using System;

namespace CSLive.ControlPanel
{
    /// <summary>
    /// Data Type HTML, used to distingues Between HTML and String types in the Control Panel
    /// </summary>
    public struct Html
    {
        #region Constructor(s)

        public Html( string data ) : this()
        {
            HtmlData = data;
        }

        #endregion

        #region Members

        public static Html Parse( string s )
        {
            return new Html( s );
        }

        #endregion

        public override string ToString()
        {
            return HtmlData;
        }

        #region Properties

        public string HtmlData { get; set; }

        #endregion
    }
}